import { http } from '@/utils/http'

export const getMemberProfileAPI = () => {
  return http({
    method: 'GET',
    url: '/member/profile',
  })
}

export const putMemberProfileAPI = (data) => {
  return http({
    method: 'PUT',
    url: '/member/profile',
    data,
  })
}

export const getMemberProfileAPI2 = () => {
  return http({
    method: 'POST',
    url: '/api/user/getUser',
  })
}

export const putMemberProfileAPI2 = (data) => {
  return http({
    method: 'POST',
    url: '/api/user/profile',
    data,
  })
}
